package com.uottawa.library.service;

import java.util.List;

import com.uottawa.library.dao.SystemMonitoringDAO;
import com.uottawa.library.domain.TransactionLogger;

public class SystemMonitoringService {
	
	private SystemMonitoringDAO systemMonitoringDao = new SystemMonitoringDAO();
	
	public void logTransaction(TransactionLogger logger) {
		systemMonitoringDao.logTransaction(logger);
	}

	public List<TransactionLogger> getTransactionsByUserId(int userId) {
		return systemMonitoringDao.getTransactionsByUserId(userId);
	}
}
